package com.woniuxy.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @Author: 马宇航
 * @Do: 用户实体类
 * @DateTime: 22/05/30/0030 上午 11:30
 * @Component: 成都蜗牛学苑
 **/
@Entity(name = "myh_user")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer uid;
    String username;
    String password;
    String telephone;
}